using System.Configuration;
using Xunit;
using ConfigurationManager=Coderoom.ScrumPlanner.Configuration.ConfigurationManager;

namespace Coderoom.ScrumPlanner.Tests.Unit.ConfigurationTests
{
	public class ConfigurationManagerTests
	{
		[Fact]
		public void XmlRepositoryDataDirectoryPath_throws_ConfigurationErrorsException_when_setting_not_specified()
		{
			Assert.Throws<ConfigurationErrorsException>(() => ConfigurationManager.GetXmlRepositoryDataDirectoryPath());
		}
	}
}